package com.ezjie.ielts.model;

import java.util.List;

import android.os.Parcel;
import android.os.Parcelable;

public class WordGroup implements Parcelable {

	private int wgid;
	private int wgid_display;
	private int status;
	private int days;
	private int total;
	private int passed;
	private int temp_status;
	private List<String> word_list;

	public int getWgid() {
		return wgid;
	}

	public void setWgid(int wgid) {
		this.wgid = wgid;
	}

	public int getWgid_display() {
		return wgid_display;
	}

	public void setWgid_display(int wgid_display) {
		this.wgid_display = wgid_display;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getDays() {
		return days;
	}

	public void setDays(int days) {
		this.days = days;
	}

	public int getPassed() {
		return passed;
	}

	public void setPassed(int passed) {
		this.passed = passed;
	}

	public int getTemp_status() {
		return temp_status;
	}

	public void setTemp_status(int temp_status) {
		this.temp_status = temp_status;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<String> getWord_list() {
		return word_list;
	}

	public void setWord_list(List<String> word_list) {
		this.word_list = word_list;
	}

	@Override
	public String toString() {
		return "WordGroup [wgid=" + wgid + ", wgid_display=" + wgid_display + ", status=" + status + ", days=" + days
				+ ", total=" + total + ", passed=" + passed + ", temp_status=" + temp_status + ", word_list="
				+ word_list + "]";
	}

	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeInt(this.wgid);
		dest.writeInt(this.wgid_display);
		dest.writeInt(this.status);
		dest.writeInt(this.days);
		dest.writeInt(this.total);
		dest.writeInt(this.passed);
		dest.writeInt(this.temp_status);
	}

	public static final Creator<WordGroup> CREATOR = new Creator<WordGroup>() {
		@Override
		public WordGroup createFromParcel(Parcel source) {
			WordGroup bean = new WordGroup();
			bean.wgid = source.readInt();
			bean.wgid_display = source.readInt();
			bean.status = source.readInt();
			bean.days = source.readInt();
			bean.total = source.readInt();
			bean.passed = source.readInt();
			bean.temp_status = source.readInt();
			return bean;
		}

		@Override
		public WordGroup[] newArray(int size) {
			return new WordGroup[size];
		}
	};
}
